<?php
/**
 * <https://y.st./>
 * Copyright © 2017 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'title' => 'Class is back in session!',
	'body' => <<<END
<section id="general">
	<h2>General news</h2>
	<p>
		It turns out Minetest wasn&apos;t allowing me to create complex textures not because it lacks the ability, but because I failed to read the part of the manual that explained how to do it correctly.
		Specifically, texture grouping doesn&apos;t behave as desired within certain contexts.
		For some reason, the colon operator takes precedence over parentheses, which as a side not, breaks up parenthetical pairs.
		Instead, colons must be escaped, which is as easy as prepending them with a backslash.
		I thought I remembered trying that as well, and it didn&apos;t work, which makes me wonder if Lua was interpreting the backslashes as an attempt to escape already-inert characters in the string.
		If it doesn&apos;t work next time I need it to, I&apos;ll try a double backslash; one to tell Lua to treat the second as literal, and the second to escape the colon in Minetest&apos;s texture syntax.
	</p>
	<p>
		My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
	</p>
</section>
<section id="university">
	<h2>University life</h2>
	<p>
		Class is back in session!
		<span title="Programming 1">CS 1102</span>&apos;s learning journal assignments are identical to <a href="https://y.st./en/coursework/CS1101/" title="Programming Fundamentals">CS 1101</a>&apos;s, so <a href="https://y.st./en/coursework/CS1102/">you know what that means</a>.
	</p>
</section>
END
);
